package com.dingcan.biao2;

import java.sql.SQLException;

public interface NewsDao {
    //查看信息
    public void getNewsByTitle();
    //增加信息
    public void addNews(int caidan_id, String caidan_name, int dianzan);

    //删除信息
    public void deleteNews(int caidan_id);
    //改变信息
    public void updateNews(int caidan_id) throws SQLException;
}
